#ifndef THREAD_H
#define THREAD_H

#include <QMainWindow>
#include<QThread>
#include<Qmutex>

class Thread : public QThread
{
    Q_OBJECT
public:
    Thread();
    void run() override;
    static QMutex mutex;
    static int num;
};

#endif // THREAD_H
